build:
	ocamllex scanner.mll
	ocamlyacc parser.mly
	ocamlc -c ast.mli
	ocamlc -c parser.mli
	ocamlc -c scanner.ml
	ocamlc -c parser.ml
	ocamlc -c interpreter.ml
	ocamlc -o ast_test parser.cmo scanner.cmo interpreter.cmo

clean:
	rm -f *.cmi *.cmo .objs scanner.ml parser.ml parser.mli *~ ast_test